package com.service.business.member.service;

import com.service.dao.po.MemberCache;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年11月15日</dd>
 * </dl>
 *
 * @author
 */
public interface MemberCacheService {

    void initMemberCache4Register(Integer memberId, String memberAccount);

    void initMemberPerformance2Cache(Integer memberId);

    MemberCache initMemberPerformance(Integer memberId);

    MemberCache getMemberCache(Integer memberId);

    void setMemberCache(MemberCache memberCache);

    BigDecimal getMemberTotalAward(MemberCache memberCache);

    void cacheGiftOrderPayMoney(Integer memberId, Date someday, BigDecimal payMoney);
}
